/* pages/my/index.wxss */
.background {
  width: 100%;
  height: 480rpx;
  background-image: url('https://cdn-we-retail.ym.tencent.com/miniapp/template/user-center-bg-v1.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  position: fixed;
  left: 0;
  top: 0;
}
.content {
  padding: 0 24rpx;
  position: relative;
  top: 220rpx;
  .user-info {
    display: flex;
    align-items: center;
    margin-bottom: 40rpx;
    .avatar {
      width: 90rpx;
      height: 90rpx;
      margin-right: 20rpx;
    }
    .name {
      font-size: 32rpx;
      color: #333;
      font-weight: 500;
    }
  }
  .card {
    margin-bottom: 20rpx;
    border-radius: 16rpx;
    overflow: hidden;
    .card-title {
      font-size: 30rpx;
      color: #333;
    }
    .card-more {
      font-size: 26rpx;
      color: #999;
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }

    .card-content {
      .card-content-icon {
        position: relative;
        .iconfont {
          font-size: 50rpx;
          color: #999;
        }
        .dot {
          position: absolute;
          right: -14rpx;
          top: -14rpx;
          display: flex;
          align-items: center;
          justify-content: center;
          font-weight: 500;
          background-color: #ff4646;
          border-radius: 50%;
          color: #fff;
        }
      }
      .card-content-text {
        font-size: 24rpx;
        color: #999;
        font-weight: 400;
      }
      .van-cell {
        padding: 0;
        padding-top: 20rpx;
      }
      .van-grid-item__content {
        padding: 16rpx 0;
      }
    }
  }
}
.max-dot {
  font-size: 14rpx;
  width: 30rpx;
  height: 30rpx;
}
.min-dot {
  font-size: 18rpx;
  width: 28rpx;
  height: 28rpx;
}
.version {
  font-size: 24rpx;
  color: #999;
  text-align: center;
  margin-top: 40rpx;
}
.contact-button {
  width: 100%;
  height: 100%;
  background-color: transparent;
  &::after {
    border: none;
  }
}
page {
  background-color: #f5f5f5;
}
